<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        h1{
            color: rgb(128,128,128);
            color: rgb(128,0,0);
            color: rgb(255,0,0);
            color: rgb(0,255,255);
            color: #FF0000;
            color: #0ff;

        }
        .d1{
            width: 500px;
            height: 300px;
            background-image: linear-gradient(0deg,#f00,cyan);
        }
        .d2{
            width: 50px;
            height: 100px;
            background-color: #000;
            background-image: url("img/mr.png");
            background-size: 50px 100px;

        }
        .d3{
            width: 500px;
            height: 300px;
            border: 5px solid red;
            background-image: url("img/mr.png");
            background-repeat: no-repeat;
            background-position: 200px 50px;
            background-position: left top;
            background-position: center;
            background-position: 50% 50%
        ;
        }
    </style>
</head>
<body>
<h1>颜色测试</h1>
<div class="d1"></div>
<div class="d2"></div>
<div class="d3"></div>

</body>
</html>